home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
text
/
dtp
/
ghostscrpt_2_5_2.lha
/
README.AMIGA
Wrap
Text File
|
1993-01-22
|
4KB
|
102 lines
January 1993
Howdy!
Here is GNU ghostscript version 2.5.2 for the Amiga. I built it with
gcc 2.2.2 and many support programs from folks all over the internet.
I have built this version of gs to support as many devices as I thought
were relevant to the land of Amiga. Some I was not sure about but
threw them in anyway. Typing gs -? will give you a list of supported
devices. Please see the files (*.doc) in the gs252 subdirectory for
information on invoking and using gs. You might look at use.doc first.
You will most certainly want to get the ghostscript fonts to install
along with this package. I excluded them in the name of archive size
sanity. This package is already huge! You can get the fonts from
ftp.uu.net (packages/gnu) or dec.gatekeeper.com (pub/GNU). All fonts
install in usr/lib/fonts. Just drop them there, ghostscript is already
configured to use them.
To install:
You must put usr/lib/ghostscript in usr:lib/ghostscript and
ixemul.library in sys:libs. Put the executables in bin in
a bin directory (I like usr:bin myself).
in AmigaDOS terms its:
copy libs/ixemul.library :libs clone
copy usr/lib/ghostscript usr:lib/ghostscript all clone
copy usr/bin/#? <wherever you want> clone
in sksh terms:
cp -p libs/ixemul.library :libs
cp -pr usr/lib/ghostscript usr:lib/ghostscript
cp -p usr/bin/* <wherever you want them>
To build it yourself:
Surprisingly, ghostscript 2.5.2 compiled with relatively little headache
on my A500. The biggest problems I had were finding programs to fill
the holes. I will try and provide a list below. I had to
a few .c files, the Makefile, and the shell scripts. Then I ran dmake
on it and within 4 hours, gs was built and running on my A500. Wow!
It takes a long time to compile the whole package. Be patient. Also,
you probably need bunches of memory.
The makefile needed to be changed to support syntax used by
pdksh (e.g () to test ...) and to change a pathname /usr/include
to /gcc/include. Also, I configured the makefile for an Amiga
like environment copied from the Unix one. You will need to edit the
Makefile to choose which devices you want to support. See make.doc and
the amiga-gcc.mak files for clues on what to do. Diff the makefile
with unix-gcc.mak to see what I did to get it to work with dmake.
The shell scripts I changed now have the suffix .ami. I would use
.pdksh, but since the stuff is supposed to install on MS-DOS, I
think 3 char suffix may be all I can use (blech!).
I have provided a couple of files you may find useful in building
this package:
uniq.rexx -- A kludge version of uniq command. I used arexx
to do this so I could learn how to read/write stdin/stdout
with AREXX.
You could easily make this a shell script. I also don't
think it is quite the same as Unix uniq, but it serves
the role its needed for in this build (deleting duplicate
entries from sorted input).
etc:profile -- A profile file used by pdksh. This file provides
all the support need to talk to programs that do not
understand Unix pathnames. There are numerous functions
and aliases in here. You most certainly will need to customize
this file to your environment. You are well advised to recompile
your pdksh program to automatically source etc:profile on
startup.
pdksh/main.c.patch -- a patch to accomplish auto-sourcing of
etc:profile. It's a no-brainer!
OK, here is a list of stuff I used to build gs.
touch - amiga-fileutils-3.3
mv - amiga-fileutils-3.3
rm - amiga-fileutils-3.3
rmdir - amiga-fileutils-3.3
ar - gcc 2.2.2
dmake - gcc 2.2.2
pdksh - pdksh package
sed - GNU sed compiled by me with gcc
awk - GNU awk compiled by me with gcc
grep - GNU grep-1.6 package for the Amiga (sksh grep failed me here)
sksh - sksh v. 2.1 (cp, tee, grep, et al)
arexx - comes with AmigaDOS 2.04!
Not all of these programs are used explicitly in building gs, but
all played some part. I am sure this list is incomplete, but you
can see the magnitude of my gratitude to folks around the net
in it's diversity.